package com.vdong.common.oauth.common.exception;

/**
 *
 * @author WangGang
 * @date 2017/6/22 0022
 * E-mail userbean@outlook.com
 * The final interpretation of this procedure is owned by the author
 */
public class GlobalException extends RuntimeException{

    private String code;

    private String message;
    

    public GlobalException(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
